package com.hl.service;

import com.hl.mapper.SelectCourseLifeMapper;
import com.hl.pojo.Courses;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SelectCourseLifeImpl implements SelectCourseLifeService {
    @Autowired
    private SelectCourseLifeMapper selectCourseLifeMapper;
    @Override
    public List<Courses> SelectCourseLifeDesc() {
        return selectCourseLifeMapper.SelectCourseLifeDesc();
    }

    @Override
    public List<Courses> SelectCourseLifeAsc() {
        return selectCourseLifeMapper.SelectCourseLifeAsc();
    }

    @Override
    public List<Courses> SelectCourseLifeAll() {
        return selectCourseLifeMapper.SelectCourseLifeAll();
    }

    @Override
    public List<Courses> SelectCourseLiatMany(Integer num, Double max, Double min) {
        return selectCourseLifeMapper.SelectCourseLiatMany(num,max,min);
    }
}
